﻿using System.Collections.ObjectModel;
using Avalonia.Controls;
using iOSClub.App.Desktop.Pages;
using iOSClub.App.Share;

namespace iOSClub.App.Desktop.ViewModels.Pages;

public class ProjectPageModel : PageModelBase
{
    public override Control Init()
    {
        YourProjects.Clear();
        AllProjects.Clear();
        YourTasks.Clear();
        return new ProjectPage() { DataContext = this };
    }

    public ObservableCollection<ProjectModel> YourProjects { get; set; } = [];
    public ObservableCollection<ProjectModel> AllProjects { get; set; } = [];
    public ObservableCollection<TaskModel> YourTasks { get; set; } = [];
}